home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000114-20000217 / 000144_news@columbia.edu _Tue Jan 25 21:27:50 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id VAA18688
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 25 Jan 2000 21:27:49 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id VAA18615
  7.     for kermit.misc@watsun.cc.columbia.edu; Tue, 25 Jan 2000 21:24:18 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: Mark Sapiro <msapiro@value.net>
  10. Subject: Re: Case Study #10: Atomic File Movement
  11. Date: 26 Jan 2000 02:18:18 GMT
  12. Organization: Not Very Much
  13. Message-ID: <86llha$40u$1@news.value.net>
  14. To: kermit.misc@columbia.edu
  15.  
  16. Frank posted a tutorial on the features in C-Kermit for "atomic"
  17. file movement.
  18.  
  19. I won't quote it here as it is readily available at
  20. http://www.columbia.edu/kermit/case10.html
  21.  
  22. It seems to me however, that there must still be a window, albeit
  23. a small one during which a connection can be lost and the sender
  24. will believe the file has been successfully sent and the receiver
  25. will not or vice versa.
  26.  
  27. I don't know the details of the protocol well enough to know exactly
  28. what scenario can occur, but I assume the sender sends a "file complete"
  29. packet of some kind.  Perhaps this packet gets lost when the connection
  30. goes down.  The sender may assume the file is successfully sent, but
  31. the receiver doesn't know it.
  32.  
  33. Or perhaps the sender needs an ACK to this packet which the receiver
  34. sends and this is the packet that is lost.  Then the receiver knows
  35. it has received the whole file, but the sender doesn't.
  36.  
  37. Am I missing something here, or is this a problem?
  38.  
  39. -- 
  40. Mark Sapiro <msapiro@value.net>       The highway is for gamblers,
  41. San Francisco Bay Area, California    better use your sense - B. Dylan